//==============================================================================
// Spearman_anim.txt
//==============================================================================

import Egyptian_Spearman_Shield_anim.txt


//==============================================================================
define poisonspit
{
   TechLogic none/Relic Obsidian Spear of Disease
   set hotspot
   {
      version
      {
         Visualnone jimmy
      }
   }
   set hotspot
   {
      version
      {
         Visualparticle sfx a poison spit
      }
   }
}

//==============================================================================
define Poison
{
   TechLogic none/Relic Obsidian Spear of Disease
   set hotspot
   {
      version
      {
         Visualnone jimmy
      }
   }   
   set hotspot
   {
      version
      {
         Visualparticle sfx a poison weapon
      }
   }
}

//==============================================================================
define Spear
{
   SetSelector
   {      
     TechLogic none/Copper Weapons/Bronze Weapons/Iron Weapons
     set hotspot
     {
        version
        {
           Visual Attachments A Spear Standard
		   connect ATTACHPOINT Poison hotspot
        }
     }
     set hotspot
     {
        version
        {
           Visual Attachments A Spear Copper
		   connect ATTACHPOINT Poison hotspot
        }
     }
     set hotspot
     {
        version
        {
           Visual Attachments A Spear Bronze
		   connect ATTACHPOINT Poison hotspot
        }
     }
     set hotspot
     {
        version
        {
           Visual Attachments A Spear Iron
		   connect ATTACHPOINT Poison hotspot
        }
     }
  }
}

//==============================================================================

define Head
{
   SetSelector
   {
      TechLogic none/Medium Spearmen/Heavy Spearmen/Champion Spearmen
      set hotspot
      {
         version
         {
            Visual Infantry E Spearman Head Standard
         }
      }
      set hotspot
      {
         version
         {
            Visual Infantry E Spearman Head Copper
         }
      }
      set hotspot
      {
         version
         {
            Visual Infantry E Spearman Head Bronze
         }
      }
      set hotspot
      {
         version
         {
            Visual Infantry E Spearman Head Iron
         }
      }
   }
}

//==============================================================================

anim Bored
{
  SetSelector
  {
      TechLogic none/Medium Spearmen/Heavy Spearmen/Champion Spearmen
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_BoredA
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_BoredA
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Copper
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_BoredA
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Bronze
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_BoredA
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Iron
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
   }
}

//==============================================================================

anim Idle
{
   SetSelector
   {
      TechLogic none/Medium Spearmen/Heavy Spearmen/Champion Spearmen
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_IdleA
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_IdleA
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Copper
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_IdleA
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Bronze
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_IdleA
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Iron
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
   }
}


//==============================================================================

anim run
{
   SetSelector
   {
      TechLogic none/Medium Spearmen/Heavy Spearmen/Champion Spearmen
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.60 true   
                  tag FootstepRight 0.20 true
			      tag SpecificSoundSet 0.60 false SoldierMarching checkVisible
			      tag SpecificSoundSet 0.20 false SoldierMarching checkVisible				  
//-- end auto generated section
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.60 true   
                  tag FootstepRight 0.20 true
			      tag SpecificSoundSet 0.60 false SoldierMarching checkVisible
			      tag SpecificSoundSet 0.20 false SoldierMarching checkVisible					  
//-- end auto generated section
				Connect TopOfHead Head hotspot
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Copper
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.60 true   
                  tag FootstepRight 0.20 true
			      tag SpecificSoundSet 0.60 false SoldierMarching checkVisible
			      tag SpecificSoundSet 0.20 false SoldierMarching checkVisible					  
//-- end auto generated section
				Connect TopOfHead Head hotspot
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Bronze
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.60 true   
                  tag FootstepRight 0.20 true
			      tag SpecificSoundSet 0.60 false SoldierMarching checkVisible
			      tag SpecificSoundSet 0.20 false SoldierMarching checkVisible					  
//-- end auto generated section
				Connect TopOfHead Head hotspot
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Iron
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
   }
}

//==============================================================================

anim Walk
{
   SetSelector
   {
      TechLogic none/Medium Spearmen/Heavy Spearmen/Champion Spearmen
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.60 true   
                  tag FootstepRight 0.20 true
			      tag SpecificSoundSet 0.60 false SoldierMarching checkVisible
			      tag SpecificSoundSet 0.20 false SoldierMarching checkVisible					  
//-- end auto generated section
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.60 true   
                  tag FootstepRight 0.20 true
			      tag SpecificSoundSet 0.60 false SoldierMarching checkVisible
			      tag SpecificSoundSet 0.20 false SoldierMarching checkVisible					  
//-- end auto generated section
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Copper
				connect RightHand Spear hotspot
				Connect TopOfHead Head hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.60 true   
                  tag FootstepRight 0.20 true
			      tag SpecificSoundSet 0.60 false SoldierMarching checkVisible
			      tag SpecificSoundSet 0.20 false SoldierMarching checkVisible					  
//-- end auto generated section
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Bronze
				connect RightHand Spear hotspot
				Connect TopOfHead Head hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.60 true   
                  tag FootstepRight 0.20 true
			      tag SpecificSoundSet 0.60 false SoldierMarching checkVisible
			      tag SpecificSoundSet 0.20 false SoldierMarching checkVisible					  
//-- end auto generated section
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Iron
				connect RightHand Spear hotspot
				Connect TopOfHead Head hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
   }
}

//==============================================================================

anim Attack
{
   SetSelector
   {
      TechLogic none/Medium Spearmen/Heavy Spearmen/Champion Spearmen
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.45 true   
                  tag GenericSound 0.40 true   
//-- end auto generated section
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.45 true   
                  tag GenericSound 0.40 true   
//-- end auto generated section
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Copper
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.45 true   
                  tag GenericSound 0.40 true   
//-- end auto generated section
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Bronze
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.45 true   
                  tag GenericSound 0.40 true   
//-- end auto generated section
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Iron
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
   }
}

//==============================================================================

anim Death
{
   SetSelector
   {
      TechLogic none/Medium Spearmen/Heavy Spearmen/Champion Spearmen
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_DeathA
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_DeathA
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Copper
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_DeathA
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Bronze
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_DeathA
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Iron
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
   }
}


//==============================================================================

anim Flail
{
   SetSelector
   {
      TechLogic none/Medium Spearmen/Heavy Spearmen/Champion Spearmen
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_FlailA
				tag SpecificSoundSet 0.35 false MaleFlail checkVisible				
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_FlailA
				tag SpecificSoundSet 0.35 false MaleFlail checkVisible				
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Copper
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_FlailA
				tag SpecificSoundSet 0.35 false MaleFlail checkVisible				
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Bronze
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_FlailA
				tag SpecificSoundSet 0.35 false MaleFlail checkVisible				
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Iron
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
   }
}

//==============================================================================

anim WhirlwindAttack
{
   SetSelector
   {
      TechLogic none/Medium Spearmen/Heavy Spearmen/Champion Spearmen
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.45 true   
                  tag GenericSound 0.40 true
				  tag SpecificSoundSet 0.49 false PoisonSpit checkVisible
//-- end auto generated section
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				Connect FRONTABDOMEN poisonspit hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.45 true   
                  tag GenericSound 0.40 true
				  tag SpecificSoundSet 0.49 false PoisonSpit checkVisible
//-- end auto generated section
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Copper
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				Connect FRONTABDOMEN poisonspit hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.45 true   
                  tag GenericSound 0.40 true
				  tag SpecificSoundSet 0.49 false PoisonSpit checkVisible
//-- end auto generated section
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Bronze
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				Connect FRONTABDOMEN poisonspit hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual Infantry E Spearman_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.45 true   
                  tag GenericSound 0.40 true
				  tag SpecificSoundSet 0.49 false PoisonSpit checkVisible
//-- end auto generated section
				ReplaceTexture Infantry E Spearman Standard/Infantry E Spearman Iron
				Connect TopOfHead Head hotspot
				connect RightHand Spear hotspot
				Connect FRONTABDOMEN poisonspit hotspot
				connect LeftForearm EgyptianSpearmanShield hotspot
         }
      }
   }
}
